import request from "../utils/request";

// 登录
export const apiLogin = (data) => {
    return request({
        url: '/api/login',
        method: 'post',
        data
    })
}

// 获取用户信息
export const apiGetUserInfo = () => {
    return request({
        url: '/api/getUserInfo'
    })
}

// 获取首页列表接口
export const apiGetList = () => {
    return request({
        url: '/api/getList',
        method: 'post'
    })
}